/**
 * Created by Administrator on 2015/12/2.
 */
var CRUD = require('./crud');
var UserDao = CRUD('user');
//UserDao.save({id:null,name:'dongge',departmentId:null}).then(console.log);
//UserDao.remove(17).then(console.log);
//UserDao.update({id:16,name:'zues',departmentId:null}).then(console.log);
UserDao.get(16).then(console.log);